$OpenBSD: patch-Makefile,v 1.1.1.1 2015/11/14 19:38:55 jung Exp $
--- Makefile.orig	Wed Nov 11 23:46:24 2015
+++ Makefile	Fri Nov 13 22:09:56 2015
@@ -18,14 +18,12 @@ config.h:
 	cp config.def.h config.h
 
 .c.o:
-	@echo CC $<
-	@${CC} -c ${CFLAGS} $<
+	${CC} -c ${CFLAGS} $<
 
 ${OBJ}: config.h config.mk
 
 sent: ${OBJ}
-	@echo CC -o $@
-	@${CC} -o $@ ${OBJ} ${LDFLAGS}
+	${CC} -o $@ ${OBJ} ${LDFLAGS}
 
 cscope: ${SRC} config.h
 	@echo cScope
@@ -44,10 +42,10 @@ dist: clean
 	@rm -rf sent-${VERSION}
 
 install: all
-	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
-	@mkdir -p ${DESTDIR}${PREFIX}/bin
-	@cp -f sent ${DESTDIR}${PREFIX}/bin
-	@chmod 755 ${DESTDIR}${PREFIX}/bin/sent
+	${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+	${BSD_INSTALL_PROGRAM} sent ${DESTDIR}${PREFIX}/bin
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sent
+	${BSD_INSTALL_DATA} example nyan.png ${DESTDIR}${PREFIX}/share/examples/sent
 
 uninstall:
 	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
